# +_+ coding:utf-8 +_+

__author__ = 'cz'

import judge
import meta_spider
import time


class OKEXMarket(object):
    _judge = judge.Judge()
    _spider = meta_spider.MetaSpider()
    _kline = list()

    def __init__(self):
        pass

    def run(self):
        self._spider.start()
        time.sleep(5)
        self._judge.start()
        while True:
            time.sleep(5)

market = OKEXMarket()


def run():
    market.run()